home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
gt_power
/
gtle14.zip
/
GTLE.DOC
next >
Wrap
Text File
|
1989-05-03
|
3KB
|
77 lines
GTLE Version 1.4 05/03/89
Written by: Cam DeBuck (015/000)
GT Log Extract
FIX
1.4 Strengthened date search
1.3 Process month as '01' or ' 1'
1.2 Searches current directory then GTPATH.
1.1 corrects for those users who have GTPATH set to the root.
PURPOSE
The purpose of GTLE is to extract one days entries from the GT.LOG
into a seperate file while will only contain the entries for the day
you select. This file will contain all the detail for the selected
day. The original GT.LOG file is NOT changed in any way as it is
opened for input only. The resulting file from running this program
may then be used by the sysop.
WARNING
The output file should NOT be used as a bulletin! This file will show
the users logon entry including the PASSWORD! This means that it
would also show your SYSOP password! You have been warned!
INSTALLATION
Place GTLE.EXE in a directory that is accessable thru your DOS PATH.
It may be run from the DOS prompt or placed in a batch file. The
program looks FIRST in the current directory for GT.LOG. If found
then all processing takes place in the current directory. If the file
is not in the current directory then the GTPATH is used to locate
GT.LOG. The program does NOT look in your GT.CNF for the location of
the LOG!! The program updates the screen when the date in the log file
reaches the search date and then will update the number of lines and
bytes that are written to the new file.
OUTPUT FILE NAME
The output is named GTLE.LOG.
COMMAND LINE PARAMATER
There is one optional command line paramater, the number of days back
from today that you desire to have extracted. Running the program with
no paramater will give you a file containing all of the info for
todays date. The paramater is simply the number of days you wish to
back up. This number can NOT be equal or greater than todays day of
the month and it should not contain any other characters. If it
contains any other characters you will receive a report for today.
ie. GTLE Program will extract todays info.
GTLE 11 The program will extract the log lines for 11 days ago.
If the date is the 15th, then 15 minus 11 equals 4.
The report would contain all log lines from the 4th of
the month.
If you have any problems send netmail to me or you can call
BBS: (404) 461-5449 0900-2400 (Eastern)
Voice: (404) 460-1725 Reasonable Hours Please
Cam DeBuck - 015/000